#ifndef MYGROUPBOX_H
#define MYGROUPBOX_H

#include <QGroupBox>
#include<QPoint>
#include<QMouseEvent>

class MyGroupBox : public QGroupBox
{
public:
	MyGroupBox(QWidget*  parent = NULL);
protected:
	void mousePressEvent(QMouseEvent *event);
	void mouseMoveEvent(QMouseEvent *event);
public:
	QPoint startPos,endPos,pos0,last;
};

#endif // MYGROUPBOX_H
